@import "variables.less";
/*create icon*/
.c-icon(@name,@img){
	.icon-@{name}{background:url('icons/@{img}.png') no-repeat center center;}
}
/*create white icon*/
.c-w-icon(@name,@img){
	.icon-w-@{name}{background:url('icons/white/@{img}.png') no-repeat center center;}
}
/*create big icon*/
.c-b-icon(@name,@img){
	.icon-big-@{name}{background:url('icons/big/@{img}.png') no-repeat top center;}
}
.icon-blank{
	background:url('icons/blank.gif') no-repeat center center;
}
.icon-funnel-eye{
	background:url('@{icon-path}/funnel_eye.png') no-repeat center center;
}
.icon-funnel-half{
	background:url('@{icon-path}/funnel_half.png') no-repeat center center;
}
.icon-funnel-empty{
	background:url('@{icon-path}/funnel_empty.png') no-repeat center center;
}
/*default icon*/

@dlist:add,edit_add,edit,pencil,remove,edit_remove,save,filesave,cut,cut,ok,ok,no,no,cancel,cancel,reload,reload,search,search,print,print,help,help,undo,undo,redo,redo,back,back,sum,sum,tip,tip,filter,filter,mini-add,mini_add,mini-edit,mini_edit,mini-refresh,mini_refresh,large-picture,large_picture,large-clipart,large_clipart,large-shapes,large_shapes,large-smartart,large_smartart,large-chart,large_chart,noread-report,noread_report,bed,bed,house,house,person,person,add-note,add_note,patient,outhosp_patient,outhosp-patient,outhosp_patient,stethoscope,stethoscope,write-order,write_order,replace-order,replace_order,stop-order,stop_order,cancel-order,cancel_order,abort-order,abort_order,uncheckin,uncheckin,end-adm,end_adm,change-loc,change_loc,resort,resort,doctor,doctor,clear-screen,clear_screen,clear,clear_screen,read-card,read_card,update,update,upload-cloud,upload_cloud,unload-cloud,unload_cloud,reset,reset,arrow-top,arrow_top,arrow-bottom,arrow_bottom,arrow-right,arrow_right,arrow-left,arrow_left,close,close,save,save,other,other,patient-info,patient_info,apply-adm,apply_adm,del-diag,del_diag,apply-opr,apply_opr,add-diag,add_diag,save-tmpl,save_tmpl,apply-check,apply_check,check-reg,check_reg,exe-order,exe_order,emr-cri,emr_cri,copy-drug,copy_drug,copy-sos,copy_sos,copy-prn,copy_prn,copy-prn,copy_prn,lt-rt-37,lt_rt_37,lt-rt-55,lt_rt_55,lt-rt-73,lt_rt_73,lt-rt-19,lt_rt_19,lt-rt-46,lt_rt_46,lt-rt-64,lt_rt_64,arrow-left-top,arrow_left_top,arrow-right-top,arrow_right_top,bold,bold,font,font,strikethrough,strikethrough,underline,underline,incline,incline,subscript,subscript,superscript,superscript,indentation,indentation,align-left,align_left,align-center,align_center,align-right,align_right,cut-blue,cut_blue,paste,paste,paste-board,paste_board,copy,copy,add,add,paper-cfg,paper_cfg,export,export,omega,omega,eye,eye,fee-arrow,fee_arrow,paper-arrow,paper_arrow,checkin,checkin,paper,paper,fee,fee,paper-tri,paper_tri,outpatient,outpatient,inpatient,inpatient,emergency,emergency,star-light-yellow,star_light_yellow,star-yellow,star_yellow,book,book,all-select,all_select,cancel-select-grant,cancel_select_grant,select-grant,select_grant,refuse-select-grant,refuse_select_grant,double-quotes,double_quotes,transfer,transfer,align-justify,align_justify,unindent,unindent,stamp,stamp,paper-stamp,paper_stamp,batch-cfg,batch_cfg,batch-add,batch_add,import-xls,import_xls,init,init,inv-search,inv_search,submit,submit,chart-year,chart_year,chart-sum,chart_sum,attachment,attachment,import-reset,import_reset,stamp-cancel,stamp_cancel,stamp-pass,stamp_pass,mnypaper-cfg,mnypaper_cfg,mnypaper-run,mnypaper_run,mnypaper-ok,mnypaper_ok,mnypaper-no,mnypaper_no,mnypaper-down,mnypaper_down,mnypaper-down2,mnypaper_down2,paper-money,paper_money,line-paid,line-paid,paper-arrow-down,paper_arrow_down,paper-arrow-up,paper_arrow_up,split,split,alert,alert,star,star,star-half,star_half,user,user,money-down,money_down,max-no,max_no,paper-link,paper_link,excel,excel,img,img,save-to,save_to,save-sure,save_sure,star-empty,star_empty,paper-info,paper_info,export-data,export_data,export-all,export_all,set-col,set_col,template,template,adjust-inventory,adjust_inventory,cancel-money,cancel_money,set-zero,set_zero,set-paper,set_paper,accept-money,accept_money,accept,accept,show-set,show_set,camera,camera,download,download,import,import,all-unselect,all_unselect,blue-edit,blue_edit,gray-edit,gray_edit,pat-write,pat_write,run,run,key,key,down,down,up,up,fx,fx,muti-key,muti_key,pause,pause,forbid,forbid,make-oppointment,make_oppointment,unuse,unuse,ignore,ignore,re-ignore,re_ignore,arrow-up,arrow_up,scanning,scanning,return,return,doc-caseload,doc_caseload,snowflake-blue,snowflake_blue,speci-mt,speci_mt,print-box,print_box,tube-add,tube_add,tube-del,tube_del,wrench-blue,wrench_blue,gen,gen,paper-submit,paper_submit,open-book,open_book,export-paper,export_paper,track,track,paper-eye,paper_eye,run-red,run_red,compare-no,compare_no,compare-yes,compare_yes,compare,compare,adm-add,adm_add,adm-same,adm_same,alert-red,alert_red,allergy-word,allergy_word,all-screen,all_screen,analysis,analysis,arrow-blue,arrow_blue,arrow-zoom,arrow_zoom,arrow-shrink,arrow_shrink,audit-x,audit_x,base-info,base_info,base-word,base_word,blue-drug-ok,blue_drug_ok,blue-move,blue_move,book-green,book_green,bottle-drug,bottle_drug,cal-pen,cal_pen,cancel-ref,cancel_ref,cancel-top,cancel_top,check,check,checkbox,checkbox,chg-doctor-grant,chg_doctor_grant,clock,clock,clock-blod,clock_blod,clock-record,clock_record,clock-black,clock_black,close-word,close_word,complex-word,complex_word,contain,contain,doctor-green-no,doctor_green_no,down-arrow-box,down_arrow_box,drug,drug,drug-arrow-red,drug_arrow_red,drug-audit,drug_audit,drug-clock,drug_clock,drug-link,drug_link,dsh-water,dsh_water,durg-freq,durg_freq,durg-ref,durg_ref,face-red,face_red,find-adm,find_adm,fire,fire,format-line,format_line,format-line-dott,format_line_dott,format-line-num,format_line_num,gen-barcode,gen_barcode,green-chart,green_chart,home-black,home_black,home-gray,home_gray,icd,icd,injector,injector,knw-submit,knw_submit,list-word,list_word,location,location,lock,lock,move-left-most,move_left_most,move-up-most,move_up_most,mtpaper-add,mtpaper_add,mtpaper-arrw-lftp,mtpaper_arrw_lftp,mtpaper-redo,mtpaper_redo,mtpaper-undo,mtpaper_undo,mttext,mttext,mutpaper-tri,mutpaper_tri,mutpaper-x,mutpaper_x,nail,nail,no-conatin,no_conatin,other-yellow,other_yellow,paper-bed,paper_bed,paper-blue-line,paper_blue_line,paper-stat,paper_stat,paper-chart,paper_chart,paper-drug,paper_drug,paper-link-pen,paper_link_pen,paper-new,paper_new,paper-no,paper_no,paper-ok,paper_ok,paper-opr-record,paper_opr_record,paper-save,paper_save,paper-table,paper_table,paper-upgrade,paper_upgrade,paper-upgrade-add,paper_upgrade_add,paper-x,paper_x,pat-add-red,pat_add_red,pat-alert-red,pat_alert_red,pat-house,pat_house,pat-opr,pat_opr,private-word,private_word,public-word,public_word,radio,radio,ref,ref,repeat-drug,repeat_drug,right-arrow,right_arrow,switch,switch,tel,tel,text,text,text-word,text_word,tip-blue,tip_blue,top-green,top_green,translate-word,translate_word,trans-pat,trans_pat,tube,tube,unlock,unlock,upload,upload,virus,virus,virus-drug,virus_drug,water-drop,water_drop,yellow-qa,yellow_qa,down-blue,down_blue,export-report,export_report,add-report,add_report,finish-report,finish_report,paper-plane,paper_plane,undo-paper-plane,undo_paper_plane,h24-stat,h24_stat,stat,stat,paper-pen,paper_pen,wating,wating,done,done,user-black,user_black,report-check-black,report_check_black,up-gray,up_gray,down-gray,down_gray,pat-info,pat_info,tooth,tooth,paid,paid,return-paid,return_paid,int-bill,int_bill,cancel-int-bill,cancel_int_bill,reprint-inv,reprint_inv,print-inv,print_inv,rebill,rebill,pat-fee-det,pat_fee_det,find-paid-det,find_paid_det,find-ord-det,find_ord_det,find-fee-itm,find_fee_itm,red-cancel-paper,red_cancel_paper,skip-no,skip_no,paper-ques,paper_ques,injector-water,injector_water,alert-pen,alert_pen,board-alert,board_alert,paper-key,paper_key,doctor-green-pen,doctor_green_pen,paper-group,paper_group,minus,minus,alarm,alarm,ip-cfg,ip_cfg,have-son-node,have_son_node,mater-info,mater_info,send-msg,send_msg,add-item,add_item,price-maint,price_maint,wax-tat-stat,wax_tat_stat,wax-stat,wax_stat,sort,sort,house-maint,house_maint,slice-tat-stat,slice_tat_stat,slice-stat,slice_stat,take-report,take_report,change-pay-way,change_pay_way,sample-stat,sample_stat,ga-maint,ga_maint,house-posi-maint,house_posi_maint,qua-pro-dis,qua_pro_dis,qua-pro-sort,qua_pro_sort,person-key-yel,person_key_yel,key-switch,key_switch,report-switch,report_switch,report-blue-shie-key,report_blue_shie_key,rectangle-flow,rectangle_flow,paper-switch,paper_switch,pat-house-switch,pat_house_switch,qua-pro-blue,qua_pro_blue,slice-only,slice_only,barbell,barbell,target-arrow,target_arrow,big-switch,big_switch,disabler,disabler,produce,produce,children,children,lung,lung,high,high,spirit,spirit,old,old,poor,poor,sugar,sugar,free,free,out-poverty,out_poverty,pregnant-woman,pregnant_woman,bell-blue-no,bell_blue_no,green-line-eye,green_line_eye,clock-orange,clock_orange,paper-clock-bue,paper_clock_bue,star-orange-border,star_orange_border,have-message,have_message,funnel-on,funnel_on,three-cuboid-green,three_cuboid_green,dustbin-red,dustbin_red,bell-blue,bell_blue,paper-pen-blue,paper_pen_blue,star-orange-body,star_orange_body,arrow-le-bo-gray,arrow_le_bo_gray,print-arr-bo,print_arr_bo,print-arr-bo-gray,print_arr_bo_gray,gear-gray,gear_gray,triangle-green-right,triangle_green_right,triangle-gray-right,triangle_gray_right,paper-pay,paper_pay,paper-pay-gray,paper_pay_gray,compu-torus,compu_torus,compu-torus-gray,compu_torus_gray,two-recta-gear,two_recta_gear,two-recta-gear-gray,two_recta_gear_gray,compu-run,compu_run,compu-run-gray,compu_run_gray,paper-blue-add,paper_blue_add,paper-blue-add-gray,paper_blue_add_gray,trian-recta-right,trian_recta_right,trian-recta-right-gray,trian_recta_right_gray,triangle-green-left,triangle_green_left,triangle-gray-left,triangle_gray_left,box-red-add,box_red_add,box-red-add-gray,box_red_add_gray,gray-chart,gray_chart,report-eye,report_eye,report-eye-gray,report_eye_gray,trian-recta-left,trian_recta_left,trian-recta-left-gray,trian_recta_left_gray,refresh-gray,refresh_gray,clock-pen,clock_pen,clock-pen-gray,clock_pen_gray,drug-eye,drug_eye,drug-eye-gray,drug_eye_gray,trigger-box,trigger_box,card,card,copy-blue,copy_blue,img-blue,img_blue,folder,folder,miss-img,miss_img,person-seal,person_seal,out,out,change,change,eye-deepgrade,eye_deepgrade,bell-yellow,bell_yellow,pat-alert-yellow,pat_alert_yellow,herb-back,herb_back,herb-pre,herb_pre,herb-next,herb_next,herb-no,herb_no,herb-ok,herb_ok,decoct-herb,decoct_herb,decoct-change,decoct_change,paper-eye-r,paper_eye_r,paper-pre,paper_pre,date,date,no-dot,no_dot,verify,verify,ca-green,ca_green,ster-again,ster_again,ster-bat,ster_bat,ster-bio,ster_bio,ster-cancel,ster_cancel,ster-finish,ster_finish,ster-ok,ster_ok,ster-bd,ster_bd,ster-leak,ster_leak,pause-red,pause_red,alarm-key,alarm_key,
align-center-blue,align_center_blue,align-left-blue,align_left_blue,align-right-blue,align_right_blue,same-height-blue,same_height_blue,same-size-blue,same_size_blue,same-width-blue,same_width_blue,valign-bottom-blue,valign_bottom_blue,valign-middle-blue,valign_middle_blue,valign-top-blue,valign_top_blue,barcode-blue,barcode_blue,qrcode-blue,qrcode_blue,line,line,move,move,table-blue,table_blue,table-col,table_col,stamp-mess,stamp_mess,paper-lightning,paper_lightning,cale-3day,cale_3day, stamp-add,stamp_add,stamp-switch,stamp_switch,stamp-undo,stamp_undo,template-down,template_down,paper-minus,paper_minus,paper-lightning,paper_lightning,fishbone-diagram,fishbone_diagram,ice-water,ice_water,circle-down,circle_down,sure-readed,sure_readed,read-details,read_details,macpw,macpw,macpworder,macpworder,ring-blue,ring_blue,bag,bag,bag-x,bag_x,disp-x,disp_x,disp-back,disp_back,
outInstc-mgr,outInstc_mgr,book-rep,book_rep,book-rep-v1,book_rep_v1,book-pen,book_pen,paper-settings,paper_settings,book-settings,book_settings,eye-scan-box,eye_scan_box,org-frame,org_frame,alert-pen-gray,alert_pen_gray,paper-set-qus,paper_set_qus,bk-mgr,bk_mgr,msg-unread,msg_unread,msg-unread-unprocessed,msg_unread_unprocessed,msg-read,msg_read,msg-read-unprocessed,msg_read_unprocessed,msg-read-processed,msg_read_processed,sound,sound,evaluate-red,evaluate_red,evaluate-green,evaluate_green,pc,pc,pc-v1,pc_v1,pc-v2,pc_v2,ecg-adm,ecg_adm,key2,key2,data-stat,data_stat,user-settings,user_settings,video,video,share,share,share-no,share_no,paper-share,paper_share,home-back,home_back,paper-plane-clock,paper_plane_clock,file-open,file_open,file,file,paper-unlink,paper_unlink,shopping-cart-ok,shopping_cart_ok,person-ok,person_ok,physics-monitor,physics_monitor,change-x-virus,change_x_virus,paper-print,paper_print,multi-del,multi_del,pda-execution-rate,pda_execution_rate,insert-local-image,insert_local_image,edit-picture,edit_picture,creating-a-pedigree-map,creating_a_pedigree_map,edit-pedigree-chart,edit_pedigree_chart,image-properties,image_properties,quality,quality,arrow-left-top-gray,arrow_left_top_gray,arrow-top-gray,arrow_top_gray,book-blue,book_blue,book-gray,book_gray,file-gray,file_gray,paper-pen-gray,paper_pen_gray,submit-gray,submit_gray,internationalize,internationalize,mass-injury,mass_injury,gcp,gcp,nurse-pen,nurse_pen,priority,priority;
.loop(@i) when (@i < length(@dlist)+1){
    .c-icon(extract(@dlist, @i),extract(@dlist,1+@i));
    .loop(2+@i);
}
.loop(1);
/*big icon*/
@blist:save,save,print,print,del,del,favorite,favorite,favorite-add,favorite_add,img,img,omega,omega,position,position,refresh,refresh,unlock,unlock,book-arrow,book_arrow,book-eye,book_eye,book-ref,book_ref,book-arrow-rt,book_arrow_rt,book-to-book,book_to_book,doctor-green,doctor_green,lt-rt-37,lt_rt_37,lt-rt-55,lt_rt_55,lt-rt-73,lt_rt_73,lt-rt-19,lt_rt_19,lt-rt-46,lt_rt_46,lt-rt-28,lt_rt_28,lt-rt-82,lt_rt_82,lt-rt-64,lt_rt_64,card-reader,card_reader,clear,clear,doctor-adm,doctor_adm,fee-arrow,fee_arrow,paper-arrow,paper_arrow,paper-pen,paper_pen,paper-search,paper_search,ring,ring,ring-blue,ring_blue,skip-no,skip_no,home,home,stamp,stamp,tooth,tooth,close-eye,close_eye,open-eye,open_eye,delete-col,delete_col ,delete-row,delete_row ,delete-table,delete_table ,insert-col,insert_col ,insert-row,insert_row ,insert-table,insert_table ,split-cells,split_cells ,help,help,paper,paper,question,question,bar,bar,card,card,change-account,change_account,disuse,disuse,inspect,inspect,maint,maint,meterage,meterage,return,return,start,start,stop,stop,tip,tip,rad,rad,balance,balance,open-file,open_file,waxblock-return,waxblock_return,cells-smear,cells_smear,slide-filed,slide_filed,slide-send,slide_send,dyeing,dyeing,slide-add,slide_add,embed,embed,slide-made,slide_made,slide-return,slide_return,book-yellow,book_yellow,med-bag,med_bag,next,next,pre,pre,print-box,print_box,save-add,save_add,save-next,save_next,print-run,print_run,paper-time,paper_time,alert-yellow,alert_yellow,pre-audit,pre_audit,paper-gray,paper_gray,msg,msg,equi-cfg,equi_cfg,med-equi,med_equi,alert,alert,idcard,idcard,paid,paid,pat-list,pat_list,read-card,read_card,search-pat,search_pat,cardiogram,cardiogram,conical-bottle,conical_bottle,patient-mach,patient_mach,movie-mach,movie_mach,chopsticks-bowl,chopsticks_bowl,rectangle-tree,rectangle_tree,message-clock,message_clock,message-cate,message_cate,message-colum,message_colum,message-pen,message_pen,miss-img,miss_img,paper-yellow,paper_yellow,mach-blue-red,mach_blue_red,first-second,first_second,clock-back-blue,clock_back_blue,clock-back-gree,clock_back_gree,person-green,person_green,report-yel-pen,report_yel_pen,two-pill-gray,two_pill_gray,paper-orange,paper_orange,blue-white-circle,blue_white_circle,three-blue-bar,three_blue_bar,blue-frame-ok,blue_frame_ok,white-p-red,white_p_red,book-arrow-ok,book_arrow_ok,eye-deepgrade,eye_deepgrade,paper-box,paper_box,ca-green,ca_green,redlabel-refresh,redlabel_refresh,paper-print,paper_print,drug-ok,drug_ok,drug-paper,drug_paper,drug-x,drug_x,drug-forbid,drug_forbid,card-money,card_money,medibottle,medibottle,drug-all-ok,drug_all_ok,drug-back,drug_back,printer-refresh,printer_refresh,medibottle-run,medibottle_run,insert-local-image,insert_local_image,edit-picture,edit_picture,creating-a-pedigree-map,creating_a_pedigree_map,edit-pedigree-chart,edit_pedigree_chart,image-properties,image_properties;
.bloop(@i) when (@i < length(@blist)+1){
    .c-b-icon(extract(@blist, @i),extract(@blist,1+@i));
    .bloop(2+@i);
}
.bloop(1);
/*white icon*/
@wlist:plus,plus,add,add,arrow-down,arrow_down,arrow-up,arrow_up,back,back,cal,cal,cancel,cancel,card,card,clean,clean,close,close,config,config,edit,edit,epr,epr,file,file,file-open,file_open,find,find,home,home,list,list,new,new,other,other,paper,paper,plus,plus,print,print,save,save,switch,switch,update,update,import,import,export,export,star,star,msg,msg,copy,copy,stamp,stamp,batch-cfg,batch_cfg,inv,inv,batch-add,batch_add,eye,eye,arrow-left,arrow_left,arrow-right,arrow_right,calc,calc,submit,submit,run,run,rent,rent,takes,takes,line-key,line_key,clock,clock,key,key,setting,setting,img,img,ok,ok,filter,filter,predrug,predrug,trigger-box,trigger_box,paid,paid,zoom,zoom,book,book,upload,upload,pen-paper,pen_paper,volume-up,volume_up,download,download,reset,reset,pause-circle,pause_circle,skip-no,skip_no,ca,ca,ster-bd,ster_bd,ster-leak,ster_leak,scan-code,scan_code,canceldrug,canceldrug,camera,camera,stop,stop;
.wloop(@i) when (@i < length(@wlist)+1){
    .c-w-icon(extract(@wlist, @i),extract(@wlist,1+@i));
    .wloop(2+@i);
}
.wloop(1);
.c-pic(@name,@img,@dir,@type,@suffix){
	.pic-@{dir}-@{name}{
		background:url('icons/@{type}/@{dir}/@{img}.@{suffix}') no-repeat center center;
		background-size: contain;
		width: 100%;
		height: 100%;
	}
}
.c-pic-onlyname(@name,@dir,@type,@suffix){
	// 把clothing-worker 变成 clothing_worker
	.c-pic(@name,replace(@name,"-","_",'gi'),@dir,@type,@suffix);
}
.picloop(@i,@arr,@pre) when(@i<length(@arr)+1){
	.c-pic-onlyname(extract(@arr, @i),@pre,blue,png);
	.picloop(1+@i,@arr,@pre);
}
.picloop2(@i,@arr,@pre) when(@i<length(@arr)+1){
	.c-pic-onlyname(extract(@arr, @i),@pre,blue,extract(@arr, 1+@i));
	.picloop2(2+@i,@arr,@pre);
}
@picpat:man,woman,unknown-gender;
.picloop(1,@picpat,pat);
@piclogon:cert,default,face,phone,pin,sound,ukey;
.picloop(1,@piclogon,logon);
@picsysst:e403,gif,e404,gif,e500,gif,nodata,svg,nodata-region,svg,nodata-msg,svg,timeout-relogon,gif,welcome,svg;
.picloop2(1,@picsysst,sysst);